package com.dmz.insclient.client;

import com.dmz.insclient.utils.ConnectParam;

import java.io.IOException;
import java.net.UnknownHostException;


/**
 * @author lee
 */
public interface ISocketClient {
    /***************************************************************************
     * 发送
     * @param message
     * @param connectParam
     * @param iSocketLog
     * @return
     * @throws UnknownHostException
     * @throws IOException
     */
    String sendToBps(String message, ConnectParam connectParam,
                     ISocketLog iSocketLog) throws Exception;

    String sendToCsp(String message, ConnectParam connectParam,
                     ISocketLog iSocketLog) throws Exception;

    String sendToSb(String messageToCSP, ConnectParam param, ISocketLog iSocketLog);
}
